.class public final Lnbisdk/bp;
.super Lnbisdk/me;


# instance fields
.field private hk:Lnbisdk/my;

.field private hl:Lnbisdk/hz;

.field private hm:Ljava/util/Vector;


# direct methods
.method public constructor <init>(Lnbisdk/my;Lnbisdk/iz;)V
    .locals 5

    invoke-direct {p0, p2}, Lnbisdk/me;-><init>(Lnbisdk/iz;)V

    iput-object p1, p0, Lnbisdk/bp;->hk:Lnbisdk/my;

    invoke-virtual {p1}, Lnbisdk/my;->iW()Ljava/util/Vector;

    move-result-object v0

    new-instance v1, Ljava/util/Vector;

    invoke-direct {v1}, Ljava/util/Vector;-><init>()V

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v2

    const/4 v3, 0x0

    :goto_0
    if-ge v3, v2, :cond_0

    invoke-virtual {v0, v3}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_0
    iput-object v1, p0, Lnbisdk/bp;->hm:Ljava/util/Vector;

    invoke-virtual {p1}, Lnbisdk/my;->jc()Lnbisdk/hz;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lnbisdk/bp;->hm:Ljava/util/Vector;

    new-instance v1, Lnbisdk/bp$1;

    invoke-direct {v1, p0, p1}, Lnbisdk/bp$1;-><init>(Lnbisdk/bp;Lnbisdk/my;)V

    invoke-static {v0, v1}, Lnbisdk/qo;->b(Ljava/util/Vector;Lnbisdk/jt;)V

    :cond_1
    return-void
.end method

.method private static a(Lnbisdk/ri;Lnbisdk/dq;)V
    .locals 4

    if-nez p1, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "analytic-event-place cannot be empty"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    new-instance v0, Lnbisdk/ri;

    const-string v1, "analytics-event-place"

    invoke-direct {v0, v1, p0}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v1, "id"

    invoke-virtual {p1}, Lnbisdk/dq;->getId()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "search-query-event-id"

    invoke-virtual {p1}, Lnbisdk/dq;->dc()I

    move-result v2

    invoke-static {v0, v1, v2}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    invoke-virtual {p1}, Lnbisdk/dq;->cZ()Z

    move-result v1

    if-eqz v1, :cond_1

    new-instance v1, Lnbisdk/ri;

    const-string v2, "gps-based"

    invoke-direct {v1, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_1
    invoke-virtual {p1}, Lnbisdk/dq;->da()Lnbisdk/cy;

    move-result-object v1

    if-eqz v1, :cond_2

    invoke-virtual {p1}, Lnbisdk/dq;->da()Lnbisdk/cy;

    move-result-object v1

    const-string v2, "golden-cookie"

    invoke-static {v0, v1, v2}, Lnbisdk/la;->a(Lnbisdk/ri;Lnbisdk/cy;Ljava/lang/String;)V

    :cond_2
    invoke-virtual {p1}, Lnbisdk/dq;->db()Z

    move-result v1

    if-eqz v1, :cond_3

    new-instance v1, Lnbisdk/ri;

    const-string v2, "premium-placement"

    invoke-direct {v1, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_3
    invoke-virtual {p1}, Lnbisdk/dq;->isEnhancedPOI()Z

    move-result v1

    if-eqz v1, :cond_4

    new-instance v1, Lnbisdk/ri;

    const-string v2, "enhanced-poi"

    invoke-direct {v1, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_4
    invoke-static {}, Lnbisdk/ix;->gN()Lnbisdk/ix;

    move-result-object v1

    invoke-virtual {v1}, Lnbisdk/ix;->gV()I

    move-result v1

    const/4 v2, 0x5

    if-le v1, v2, :cond_6

    invoke-virtual {p1}, Lnbisdk/dq;->dd()Lnbisdk/cy;

    move-result-object v1

    if-eqz v1, :cond_5

    invoke-virtual {p1}, Lnbisdk/dq;->dd()Lnbisdk/cy;

    move-result-object v1

    const-string v2, "place-event-cookie"

    invoke-static {v0, v1, v2}, Lnbisdk/la;->a(Lnbisdk/ri;Lnbisdk/cy;Ljava/lang/String;)V

    :cond_5
    const-string v1, "index"

    invoke-virtual {p1}, Lnbisdk/dq;->getIndex()I

    move-result v2

    int-to-long v2, v2

    invoke-static {v0, v1, v2, v3}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    invoke-virtual {p1}, Lnbisdk/dq;->de()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_6

    const-string v1, "origin"

    invoke-virtual {p1}, Lnbisdk/dq;->de()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    :cond_6
    return-void
.end method

.method private b(Lnbisdk/ri;)V
    .locals 13

    const/4 v12, 0x0

    iget-object v0, p0, Lnbisdk/bp;->hm:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v1

    move v2, v12

    :goto_0
    if-ge v2, v1, :cond_8

    invoke-virtual {v0, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/mr;

    sget-boolean v3, Lnbisdk/bk;->cG:Z

    if-eqz v3, :cond_0

    invoke-virtual {p0}, Lnbisdk/mr;->getId()I

    move-result v3

    invoke-virtual {p0}, Lnbisdk/mr;->iM()J

    move-result-wide v4

    long-to-int v4, v4

    invoke-virtual {p0}, Lnbisdk/mr;->iN()J

    move-result-wide v5

    long-to-int v5, v5

    invoke-virtual {p0}, Lnbisdk/mr;->iE()B

    move-result v6

    const/4 v7, 0x2

    invoke-static {v3, v4, v5, v6, v7}, Lnbisdk/ef;->a(IIIBB)V

    :cond_0
    new-instance v3, Lnbisdk/ri;

    const-string v4, "analytics-event"

    invoke-direct {v3, v4, p1}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v4, "id"

    invoke-virtual {p0}, Lnbisdk/mr;->getId()I

    move-result v5

    int-to-long v5, v5

    invoke-static {v3, v4, v5, v6}, Lnbisdk/ka;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v4, "ts"

    invoke-virtual {p0}, Lnbisdk/mr;->iM()J

    move-result-wide v5

    invoke-static {v3, v4, v5, v6}, Lnbisdk/ka;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v4, "session-id"

    invoke-virtual {p0}, Lnbisdk/mr;->iN()J

    move-result-wide v5

    invoke-static {v3, v4, v5, v6}, Lnbisdk/ka;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    invoke-virtual {p0}, Lnbisdk/mr;->iE()B

    move-result v4

    packed-switch v4, :pswitch_data_0

    :cond_1
    :goto_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :pswitch_0
    new-instance v4, Lnbisdk/ri;

    const-string v5, "search-query-event"

    invoke-direct {v4, v5, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    invoke-virtual {p0}, Lnbisdk/mr;->eg()Lnbisdk/lg;

    move-result-object v3

    if-eqz v3, :cond_2

    invoke-virtual {p0}, Lnbisdk/mr;->eg()Lnbisdk/lg;

    move-result-object v3

    invoke-static {v3}, Lnbisdk/co;->c(Lnbisdk/lg;)Lnbisdk/ri;

    move-result-object v3

    invoke-virtual {v4, v3}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_2
    invoke-static {}, Lnbisdk/ix;->gN()Lnbisdk/ix;

    move-result-object v3

    invoke-virtual {v3}, Lnbisdk/ix;->gV()I

    move-result v3

    const/4 v5, 0x5

    if-le v3, v5, :cond_5

    invoke-virtual {p0}, Lnbisdk/mr;->iQ()Lnbisdk/lc;

    move-result-object v3

    if-eqz v3, :cond_3

    invoke-virtual {p0}, Lnbisdk/mr;->iQ()Lnbisdk/lc;

    move-result-object v3

    invoke-virtual {v3}, Lnbisdk/lc;->bb()Lnbisdk/ri;

    move-result-object v3

    invoke-virtual {v4, v3}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_3
    invoke-virtual {p0}, Lnbisdk/mr;->es()Lnbisdk/cy;

    move-result-object v3

    if-eqz v3, :cond_4

    const-string v5, "search-event-cookie"

    invoke-static {v4, v3, v5}, Lnbisdk/la;->a(Lnbisdk/ri;Lnbisdk/cy;Ljava/lang/String;)V

    :cond_4
    const-string v3, "input-method"

    invoke-virtual {p0}, Lnbisdk/mr;->et()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v3, v5}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    :cond_5
    const-string v3, "scheme"

    invoke-virtual {p0}, Lnbisdk/mr;->getScheme()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v3, v5}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    :pswitch_1
    new-instance v5, Lnbisdk/ri;

    sget-object v6, Lnbisdk/by;->dn:[Ljava/lang/String;

    aget-object v4, v6, v4

    invoke-direct {v5, v4, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    invoke-virtual {p0}, Lnbisdk/mr;->iF()Lnbisdk/dq;

    move-result-object v3

    invoke-static {v5, v3}, Lnbisdk/bp;->a(Lnbisdk/ri;Lnbisdk/dq;)V

    goto :goto_1

    :pswitch_2
    new-instance v4, Lnbisdk/ri;

    const-string v5, "route-request-event"

    invoke-direct {v4, v5, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    new-instance v3, Lnbisdk/ri;

    const-string v5, "analytics-event-origin"

    invoke-direct {v3, v5, v4}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    invoke-virtual {p0}, Lnbisdk/mr;->iG()Lnbisdk/dq;

    move-result-object v5

    invoke-static {v3, v5}, Lnbisdk/bp;->a(Lnbisdk/ri;Lnbisdk/dq;)V

    new-instance v3, Lnbisdk/ri;

    const-string v5, "analytics-event-destination"

    invoke-direct {v3, v5, v4}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    invoke-virtual {p0}, Lnbisdk/mr;->iH()Lnbisdk/dq;

    move-result-object v5

    invoke-static {v3, v5}, Lnbisdk/bp;->a(Lnbisdk/ri;Lnbisdk/dq;)V

    const-string v3, "nav-session-id"

    invoke-virtual {p0}, Lnbisdk/mr;->iI()J

    move-result-wide v5

    invoke-static {v4, v3, v5, v6}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v3, "reason"

    invoke-virtual {p0}, Lnbisdk/mr;->getReason()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v3, v5}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_1

    :pswitch_3
    new-instance v4, Lnbisdk/ri;

    const-string v5, "route-reply-event"

    invoke-direct {v4, v5, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v3, "nav-session-id"

    invoke-virtual {p0}, Lnbisdk/mr;->iI()J

    move-result-wide v5

    invoke-static {v4, v3, v5, v6}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v3, "route-request-event-id"

    invoke-virtual {p0}, Lnbisdk/mr;->iJ()I

    move-result v5

    invoke-static {v4, v3, v5}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v3, "duration"

    invoke-virtual {p0}, Lnbisdk/mr;->getDuration()I

    move-result v5

    invoke-static {v4, v3, v5}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v3, "distance"

    invoke-virtual {p0}, Lnbisdk/mr;->iL()F

    move-result v5

    invoke-static {v4, v3, v5}, Lnbisdk/ov;->a(Lnbisdk/ri;Ljava/lang/String;F)V

    goto/16 :goto_1

    :pswitch_4
    new-instance v4, Lnbisdk/ri;

    const-string v5, "route-state-event"

    invoke-direct {v4, v5, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v3, "nav-session-id"

    invoke-virtual {p0}, Lnbisdk/mr;->iI()J

    move-result-wide v5

    invoke-static {v4, v3, v5, v6}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v3, "route-request-event-id"

    invoke-virtual {p0}, Lnbisdk/mr;->iJ()I

    move-result v5

    invoke-static {v4, v3, v5}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v3, "route-reply-event-id"

    invoke-virtual {p0}, Lnbisdk/mr;->iK()I

    move-result v5

    invoke-static {v4, v3, v5}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    const-string v3, "state"

    invoke-virtual {p0}, Lnbisdk/mr;->getState()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v3, v5}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    const-string v3, "distance"

    invoke-virtual {p0}, Lnbisdk/mr;->iL()F

    move-result v5

    invoke-static {v4, v3, v5}, Lnbisdk/ov;->a(Lnbisdk/ri;Ljava/lang/String;F)V

    const-string v3, "duration"

    invoke-virtual {p0}, Lnbisdk/mr;->getDuration()I

    move-result v5

    invoke-static {v4, v3, v5}, Lnbisdk/lr;->a(Lnbisdk/ri;Ljava/lang/String;I)V

    goto/16 :goto_1

    :pswitch_5
    invoke-virtual {p0}, Lnbisdk/mr;->iO()Lnbisdk/pw;

    move-result-object v4

    new-instance v5, Lnbisdk/ri;

    const-string v6, "gps-probes-event"

    invoke-direct {v5, v6, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v3, "nav-session-id"

    invoke-virtual {v4}, Lnbisdk/pw;->iI()J

    move-result-wide v6

    invoke-static {v5, v3, v6, v7}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v3, "packing-version"

    invoke-virtual {v4}, Lnbisdk/pw;->kp()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v3, v6}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v3, Lnbisdk/ri;

    const-string v6, "gps"

    invoke-direct {v3, v6, v5}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v6, "packed"

    invoke-virtual {v4}, Lnbisdk/pw;->kn()[B

    move-result-object v7

    invoke-virtual {v3, v6, v7}, Lnbisdk/ri;->c(Ljava/lang/String;[B)V

    invoke-virtual {v4}, Lnbisdk/pw;->ko()Ljava/util/Vector;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Vector;->size()I

    move-result v4

    move v6, v12

    :goto_2
    if-ge v6, v4, :cond_1

    invoke-virtual {v3, v6}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, [B

    new-instance v7, Lnbisdk/ri;

    const-string v8, "gps-offset"

    invoke-direct {v7, v8, v5}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v8, "packed"

    invoke-virtual {v7, v8, p0}, Lnbisdk/ri;->c(Ljava/lang/String;[B)V

    add-int/lit8 v6, v6, 0x1

    goto :goto_2

    :pswitch_6
    new-instance v4, Lnbisdk/ri;

    const-string v5, "wifi-probes-event"

    invoke-direct {v4, v5, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    new-instance v3, Lnbisdk/ri;

    const-string v5, "gps"

    invoke-direct {v3, v5, v4}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v5, "packed"

    invoke-virtual {p0}, Lnbisdk/mr;->iR()[B

    move-result-object v6

    invoke-virtual {v3, v5, v6}, Lnbisdk/ri;->c(Ljava/lang/String;[B)V

    invoke-virtual {p0}, Lnbisdk/mr;->iS()[Lnbisdk/ab;

    move-result-object v3

    move v5, v12

    :goto_3
    array-length v6, v3

    if-ge v5, v6, :cond_1

    new-instance v6, Lnbisdk/ri;

    const-string v7, "wifi-probe"

    invoke-direct {v6, v7, v4}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v7, "frequency"

    aget-object v8, v3, v5

    invoke-virtual {v8}, Lnbisdk/ab;->K()I

    move-result v8

    int-to-long v8, v8

    invoke-static {v6, v7, v8, v9}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v7, "mac-address"

    aget-object v8, v3, v5

    invoke-virtual {v8}, Lnbisdk/ab;->I()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v6, v7, v8}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v7, "signal-strength"

    aget-object v8, v3, v5

    invoke-virtual {v8}, Lnbisdk/ab;->eu()I

    move-result v8

    int-to-long v8, v8

    invoke-static {v6, v7, v8, v9}, Lnbisdk/iq;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    const-string v7, "ssid"

    aget-object v8, v3, v5

    invoke-virtual {v8}, Lnbisdk/ab;->getSSID()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v6, v7, v8}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v7, "time-delta"

    aget-object v8, v3, v5

    invoke-virtual {v8}, Lnbisdk/ab;->J()J

    move-result-wide v8

    invoke-static {v6, v7, v8, v9}, Lnbisdk/ka;->a(Lnbisdk/ri;Ljava/lang/String;J)V

    aget-object v7, v3, v5

    invoke-virtual {v7}, Lnbisdk/ab;->L()Ljava/util/Vector;

    move-result-object v7

    if-eqz v7, :cond_7

    new-instance v8, Lnbisdk/ri;

    const-string v9, "wifi-capabilities"

    invoke-direct {v8, v9, v6}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    move v6, v12

    :goto_4
    invoke-virtual {v7}, Ljava/util/Vector;->size()I

    move-result v9

    if-ge v6, v9, :cond_7

    new-instance v9, Lnbisdk/ri;

    const-string v10, "pair"

    invoke-direct {v9, v10, v8}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    invoke-virtual {v7, v6}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/of;

    if-eqz p0, :cond_6

    const-string v10, "key"

    invoke-virtual {p0}, Lnbisdk/of;->getKey()Ljava/lang/String;

    move-result-object v11

    invoke-static {v9, v10, v11}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    const-string v10, "value"

    invoke-virtual {p0}, Lnbisdk/of;->getValue()Ljava/lang/String;

    move-result-object v11

    invoke-static {v9, v10, v11}, Lnbisdk/ok;->a(Lnbisdk/ri;Ljava/lang/String;Ljava/lang/String;)V

    :cond_6
    add-int/lit8 v6, v6, 0x1

    goto :goto_4

    :cond_7
    add-int/lit8 v5, v5, 0x1

    goto :goto_3

    :cond_8
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_1
        :pswitch_1
        :pswitch_1
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_1
        :pswitch_1
        :pswitch_6
    .end packed-switch
.end method


# virtual methods
.method public final a(Lnbisdk/dz;Lnbisdk/fk;)V
    .locals 8

    new-instance v0, Lnbisdk/hz;

    invoke-direct {v0}, Lnbisdk/hz;-><init>()V

    iput-object v0, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    iget-object v0, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    iget-object v1, p0, Lnbisdk/bp;->hm:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Lnbisdk/hz;->f(Ljava/util/Vector;)V

    const-string v0, "result"

    invoke-virtual {p2, v0}, Lnbisdk/fk;->U(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "result"

    invoke-static {p2, v0}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    :cond_0
    const-string v0, "analytics-config"

    invoke-static {p2, v0}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v1

    if-eqz v1, :cond_7

    iget-object v0, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v2, "max-hold-time"

    invoke-static {v1, v2}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v2

    long-to-int v2, v2

    invoke-virtual {v0, v2}, Lnbisdk/hz;->ae(I)V

    iget-object v0, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v2, "max-data-age"

    invoke-static {v1, v2}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v2

    long-to-int v2, v2

    invoke-virtual {v0, v2}, Lnbisdk/hz;->af(I)V

    iget-object v0, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v2, "max-request-size"

    invoke-static {v1, v2}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v2

    long-to-int v2, v2

    invoke-virtual {v0, v2}, Lnbisdk/hz;->ag(I)V

    const-string v0, "gold-events-config"

    invoke-static {v1, v0}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v2, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v3, "priority"

    invoke-static {v0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    long-to-int v3, v3

    invoke-virtual {v2, v3}, Lnbisdk/hz;->ah(I)V

    const-string v2, "max-hold-time"

    invoke-virtual {v0, v2}, Lnbisdk/fk;->U(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v3, "max-hold-time"

    invoke-static {v0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    long-to-int v3, v3

    invoke-virtual {v2, v3}, Lnbisdk/hz;->am(I)V

    :cond_1
    const-string v2, "event-type"

    invoke-virtual {v0, v2}, Lnbisdk/fk;->V(Ljava/lang/String;)Ljava/util/Enumeration;

    move-result-object v2

    invoke-static {}, Lnbisdk/by;->bQ()V

    :goto_0
    invoke-interface {v2}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {v2}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/fk;

    const-string v3, "name"

    invoke-static {v0, v3}, Lnbisdk/ok;->j(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lnbisdk/by;->l(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    const-string v0, "poi-events-config"

    invoke-static {v1, v0}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v0

    if-eqz v0, :cond_3

    iget-object v2, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v3, "priority"

    invoke-static {v0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    long-to-int v0, v3

    invoke-virtual {v2, v0}, Lnbisdk/hz;->ai(I)V

    :cond_3
    const-string v0, "route-tracking-config"

    invoke-static {v1, v0}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v0

    if-eqz v0, :cond_4

    iget-object v2, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v3, "priority"

    invoke-static {v0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    long-to-int v0, v3

    invoke-virtual {v2, v0}, Lnbisdk/hz;->aj(I)V

    :cond_4
    const-string v0, "gps-probes-config"

    invoke-static {v1, v0}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v0

    if-eqz v0, :cond_5

    iget-object v2, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v3, "priority"

    invoke-static {v0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    long-to-int v3, v3

    invoke-virtual {v2, v3}, Lnbisdk/hz;->ak(I)V

    iget-object v2, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v3, "sample-rate"

    invoke-static {v0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    long-to-int v0, v3

    invoke-virtual {v2, v0}, Lnbisdk/hz;->al(I)V

    :cond_5
    const-string v0, "wifi-probes-config"

    invoke-static {v1, v0}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v0

    if-eqz v0, :cond_6

    iget-object v1, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v2, "priority"

    invoke-static {v0, v2}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v2

    long-to-int v2, v2

    invoke-virtual {v1, v2}, Lnbisdk/hz;->an(I)V

    iget-object v1, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v2, "max-speed"

    invoke-static {v0, v2}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v2

    long-to-int v2, v2

    invoke-virtual {v1, v2}, Lnbisdk/hz;->ao(I)V

    iget-object v1, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v2, "collection-interval"

    invoke-static {v0, v2}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v2

    long-to-int v2, v2

    invoke-virtual {v1, v2}, Lnbisdk/hz;->ap(I)V

    iget-object v1, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    const-string v2, "minimum-distance-delta"

    invoke-static {v0, v2}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v2

    long-to-int v0, v2

    invoke-virtual {v1, v0}, Lnbisdk/hz;->aq(I)V

    :cond_6
    sget-boolean v0, Lnbisdk/bk;->cG:Z

    if-eqz v0, :cond_7

    iget-object v0, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    invoke-static {v0}, Lnbisdk/cq;->a(Lnbisdk/hz;)V

    :cond_7
    sget-boolean v0, Lnbisdk/bk;->cG:Z

    if-eqz v0, :cond_8

    iget-object v1, p0, Lnbisdk/bp;->hm:Ljava/util/Vector;

    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v2

    const/4 v0, 0x0

    move v3, v0

    :goto_1
    if-ge v3, v2, :cond_8

    invoke-virtual {v1, v3}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/mr;

    invoke-virtual {v0}, Lnbisdk/mr;->getId()I

    move-result v4

    invoke-virtual {v0}, Lnbisdk/mr;->iM()J

    move-result-wide v5

    long-to-int v5, v5

    invoke-virtual {v0}, Lnbisdk/mr;->iN()J

    move-result-wide v6

    long-to-int v6, v6

    invoke-virtual {v0}, Lnbisdk/mr;->iE()B

    move-result v0

    const/4 v7, 0x3

    invoke-static {v4, v5, v6, v0, v7}, Lnbisdk/ef;->a(IIIBB)V

    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_1

    :cond_8
    iget-object v0, p0, Lnbisdk/bp;->ke:Lnbisdk/iz;

    invoke-interface {v0, p1, p2}, Lnbisdk/iz;->a(Lnbisdk/dz;Lnbisdk/fk;)V

    return-void
.end method

.method public final a(Lnbisdk/ri;)V
    .locals 6

    iget-object v0, p0, Lnbisdk/bp;->hk:Lnbisdk/my;

    invoke-virtual {v0}, Lnbisdk/my;->iV()B

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_2

    iget-object v0, p0, Lnbisdk/bp;->hm:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v1

    if-nez v1, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Invalid input parameter, size=0"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    const/4 v2, 0x0

    :goto_0
    if-ge v2, v1, :cond_8

    invoke-virtual {v0, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/bw;

    new-instance v3, Lnbisdk/ri;

    const-string v4, "event-detail"

    invoke-direct {v3, v4, p1}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v4, "id"

    invoke-virtual {p0}, Lnbisdk/bw;->getId()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v4, v5}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v4, "type"

    invoke-virtual {p0}, Lnbisdk/bw;->getType()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v4, v5}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {p0}, Lnbisdk/bw;->bK()Lnbisdk/eq;

    move-result-object v4

    if-eqz v4, :cond_1

    new-instance v4, Lnbisdk/ri;

    const-string v5, "phone"

    invoke-direct {v4, v5, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    const-string v3, "kind"

    invoke-virtual {p0}, Lnbisdk/bw;->bK()Lnbisdk/eq;

    move-result-object v5

    invoke-virtual {v5}, Lnbisdk/eq;->ew()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v3, v5}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v3, "country"

    invoke-virtual {p0}, Lnbisdk/bw;->bK()Lnbisdk/eq;

    move-result-object v5

    invoke-virtual {v5}, Lnbisdk/eq;->getCountryCode()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v3, v5}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v3, "area"

    invoke-virtual {p0}, Lnbisdk/bw;->bK()Lnbisdk/eq;

    move-result-object v5

    invoke-virtual {v5}, Lnbisdk/eq;->ev()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v3, v5}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v3, "number"

    invoke-virtual {p0}, Lnbisdk/bw;->bK()Lnbisdk/eq;

    move-result-object v5

    invoke-virtual {v5}, Lnbisdk/eq;->getNumber()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v3, v5}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v3, "ext"

    invoke-virtual {p0}, Lnbisdk/bw;->bK()Lnbisdk/eq;

    const/4 v5, 0x0

    invoke-virtual {v4, v3, v5}, Lnbisdk/ri;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_2
    invoke-direct {p0, p1}, Lnbisdk/bp;->b(Lnbisdk/ri;)V

    iget-object v0, p0, Lnbisdk/bp;->hk:Lnbisdk/my;

    invoke-virtual {v0}, Lnbisdk/my;->iY()Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lnbisdk/bp;->hk:Lnbisdk/my;

    invoke-virtual {v0}, Lnbisdk/my;->jb()Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lnbisdk/bp;->hk:Lnbisdk/my;

    invoke-virtual {v0}, Lnbisdk/my;->ja()Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lnbisdk/bp;->hk:Lnbisdk/my;

    invoke-virtual {v0}, Lnbisdk/my;->iZ()Z

    move-result v0

    if-eqz v0, :cond_8

    :cond_3
    new-instance v0, Lnbisdk/ri;

    const-string v1, "want-analytics-config"

    invoke-direct {v0, v1, p1}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    new-instance v1, Lnbisdk/ri;

    const-string v2, "event-categories"

    invoke-direct {v1, v2, v0}, Lnbisdk/ri;-><init>(Ljava/lang/String;Lnbisdk/ri;)V

    iget-object v0, p0, Lnbisdk/bp;->hk:Lnbisdk/my;

    invoke-virtual {v0}, Lnbisdk/my;->iY()Z

    move-result v0

    if-eqz v0, :cond_4

    new-instance v0, Lnbisdk/ri;

    const-string v2, "gold-category"

    invoke-direct {v0, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    invoke-static {}, Lnbisdk/ix;->gN()Lnbisdk/ix;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/ix;->gV()I

    move-result v2

    const/4 v3, 0x5

    if-le v2, v3, :cond_4

    new-instance v2, Lnbisdk/ri;

    const-string v3, "want-max-hold-time"

    invoke-direct {v2, v3}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v2}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_4
    iget-object v0, p0, Lnbisdk/bp;->hk:Lnbisdk/my;

    invoke-virtual {v0}, Lnbisdk/my;->iZ()Z

    move-result v0

    if-eqz v0, :cond_5

    new-instance v0, Lnbisdk/ri;

    const-string v2, "poi-category"

    invoke-direct {v0, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_5
    iget-object v0, p0, Lnbisdk/bp;->hk:Lnbisdk/my;

    invoke-virtual {v0}, Lnbisdk/my;->ja()Z

    move-result v0

    if-eqz v0, :cond_6

    new-instance v0, Lnbisdk/ri;

    const-string v2, "route-tracking-category"

    invoke-direct {v0, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_6
    iget-object v0, p0, Lnbisdk/bp;->hk:Lnbisdk/my;

    invoke-virtual {v0}, Lnbisdk/my;->jb()Z

    move-result v0

    if-eqz v0, :cond_7

    new-instance v0, Lnbisdk/ri;

    const-string v2, "gps-probes-category"

    invoke-direct {v0, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_7
    invoke-static {}, Lnbisdk/ix;->gN()Lnbisdk/ix;

    move-result-object v0

    const/16 v2, 0x18

    invoke-virtual {v0, v2}, Lnbisdk/ix;->isEnabled(I)Z

    move-result v0

    if-eqz v0, :cond_8

    new-instance v0, Lnbisdk/ri;

    const-string v2, "wifi-probes-category"

    invoke-direct {v0, v2}, Lnbisdk/ri;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Lnbisdk/ri;->d(Lnbisdk/ri;)V

    :cond_8
    return-void
.end method

.method protected final ex()Lnbisdk/hz;
    .locals 1

    iget-object v0, p0, Lnbisdk/bp;->hl:Lnbisdk/hz;

    return-object v0
.end method

.method protected final getType()Ljava/lang/String;
    .locals 1

    const-string v0, "analytics-events"

    return-object v0
.end method
